<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%-- <%@include file="../../common/taglib/taglib.jsp"%> --%>
<div class="pageContent">
	<div class="pageFormContent" layoutH="56">
	    <fieldset>
			<legend>台签信息</legend>
			<dl>
				<dt>台签编号：</dt>
				<dd>${bean.tqNo}</dd>
			</dl>
			<dl>
				<dt>一级代理商编号：</dt>
				<dd>${bean.agentNo}</dd>
			</dl>
			<dl>
				<dt>一级代理商名称：</dt>
				<dd>${bean.agentName}</dd>
			</dl>
			<c:if test="${bean.secondAgentNo !=null && bean.secondAgentNo !='' }">
			<dl>
				<dt>二级代理商编号：</dt>
				<dd>${bean.secondAgentNo}</dd>
			</dl>
			<dl>
				<dt>二级代理商名称：</dt>
				<dd>${bean.secondAgentName}</dd>
			</dl>
			</c:if>
			<c:if test="${bean.thirdAgentNo !=null && bean.thirdAgentNo !='' }">
			<dl>
				<dt>三级代理商编号：</dt>
				<dd>${bean.thirdAgentNo}</dd>
			</dl>
			<dl>
				<dt>三级代理商名称：</dt>
				<dd>${bean.thirdAgentName}</dd>
			</dl>
			</c:if>
			<dl>
				<dt>状态：</dt>
				<dd>
				    <c:if test="${bean.status == 'UN_ALLOT'}"><span style="line-height: 21px; color: green;">未被分派</span></c:if>
				    <c:if test="${bean.status == 'ALLOTTED'}"><span style="line-height: 21px; color: blue;">已被分派</span></c:if>
				    <c:if test="${bean.status == 'IS_BINDING'}"><span style="line-height: 21px; color: black;">已被绑定</span></c:if>
				    <c:if test="${bean.status == 'CANCEL'}"><span style="line-height: 21px; color: red">已作废</span></c:if>
				</dd>
			</dl>
			<div class="divider"></div>
			<dl>
				<dt>创建时间：</dt>
				<dd><fmt:formatDate value="${bean.createTime}"
		                 pattern="yyyy-MM-dd HH:mm:ss" /></dd>
			</dl>
			<dl>
				<dt>修改时间：</dt>
				<dd><fmt:formatDate value="${bean.editTime}"
		                 pattern="yyyy-MM-dd HH:mm:ss" /></dd>
			</dl>
			<div class="unit">
				<label>二维码内容：</label> 
				<font style="display: block; margin-top: 5px;">${bean.url}</font>
			</div>
			<div class="unit">
				<label>二维码：</label> 
				<font style="display: block; margin-top: 5px;"><img width="200" src="${bean.imgUrl }"/></font>
			</div>
			<div class="divider"></div>
			<dl>
				<dt>商户编号：</dt>
				<dd>${bean.merchantNo}</dd>
			</dl>
			<dl>
				<dt>商户名称：</dt>
				<dd>${bean.merchantName}</dd>
			</dl>
			<dl>
				<dt>合同编号：</dt>
				<dd>${bean.contractNo}</dd>
			</dl>
		</fieldset>		
	</div>
	<div class="formBar">
		<ul style="float: left;">
			<li>
				<div class="button">
					<div class="buttonContent">
						<button type="button" class="close">关闭</button>
					</div>
				</div></li>
		</ul>
	</div>
</div>